package com.cljz.makepassenger.model.net.bean;

import java.util.List;

import cn.droidlover.xdroidmvp.net.IModel;

/**
 * Created by CLJZ on 2017/6/6.
 */

public class UserPointBean implements IModel {
    /**
     * error_code : 0
     * msg : success
     * data : {"totalPoints":"500","pointsList":[{"id":"1","user_id":"5","content":"测试","user_points":"10","in_out":"0","status":"0","add_time":"0"},{"id":"2","user_id":"5","content":"测试","user_points":"50","in_out":"0","status":"0","add_time":"0"}]}
     */

    private String error_code;
    private String msg;
    private DataBean data;

    @Override
    public boolean isNull() {
        return false;
    }

    @Override
    public boolean isAuthError() {
        return false;
    }

    @Override
    public boolean isBizError() {
        return false;
    }

    @Override
    public String getErrorMsg() {
        return null;
    }

    public String getError_code() {
        return error_code;
    }

    public void setError_code(String error_code) {
        this.error_code = error_code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }


    public static class DataBean {
        /**
         * totalPoints : 500
         * pointsList : [{"id":"1","user_id":"5","content":"测试","user_points":"10","in_out":"0","status":"0","add_time":"0"},{"id":"2","user_id":"5","content":"测试","user_points":"50","in_out":"0","status":"0","add_time":"0"}]
         */

        private String totalPoints;
        private List<PointsListBean> pointsList;

        public String getTotalPoints() {
            return totalPoints;
        }

        public void setTotalPoints(String totalPoints) {
            this.totalPoints = totalPoints;
        }

        public List<PointsListBean> getPointsList() {
            return pointsList;
        }

        public void setPointsList(List<PointsListBean> pointsList) {
            this.pointsList = pointsList;
        }

        public static class PointsListBean {

            /**
             * id : 1
             * user_id : 5
             * content : 测试
             * user_points : 10
             * in_out : 0
             * status : 0
             * add_time : 0
             */
            private String id;
            private String user_id;
            private String content;
            private String user_points;
            private String in_out;
            private String status;
            private String add_time;

            public String getId() {
                return id;
            }

            public void setId(String id) {
                this.id = id;
            }

            public String getUser_id() {
                return user_id;
            }

            public void setUser_id(String user_id) {
                this.user_id = user_id;
            }

            public String getContent() {
                return content;
            }

            public void setContent(String content) {
                this.content = content;
            }

            public String getUser_points() {
                return user_points;
            }

            public void setUser_points(String user_points) {
                this.user_points = user_points;
            }

            public String getIn_out() {
                return in_out;
            }

            public void setIn_out(String in_out) {
                this.in_out = in_out;
            }

            public String getStatus() {
                return status;
            }

            public void setStatus(String status) {
                this.status = status;
            }

            public String getAdd_time() {
                return add_time;
            }

            public void setAdd_time(String add_time) {
                this.add_time = add_time;
            }
        }
    }
}
